﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SliderNew.ascx.vb" Inherits="FrontEnd_Control_QuangCao_SliderNew" %>
<script type="text/javascript">
    $(function () {
        //enter


        $("#<%=txtSearchBienNhan.ClientID() %>").keypress(function (e) {

            if (e.keyCode == 13) {
                
                eval($("#<%=btnSearchHoSo.ClientID()%>").attr("href"));
                return false;
            }
        });


        $("#<%=btnSearchHoSo.ClientID()%>").click(function () {

            if ($("#<%=txtSearchBienNhan.ClientID()%>").val() == "") {
                alert("Vui lòng nhập Biên nhận & CMND & MST");
                $("#<%=txtSearchBienNhan.ClientID()%>").focus();
                return false;
            }

        });

        $('#carouselhAuto').jsCarousel({ onthumbnailclick: function (src) { },
            autoscroll: true,
            masked: true,
            itemstodisplay: 4,
            orientation: 'h'
        });


    });
</script>
<div class="row">
    <div class="col-xs-12">
        <div class="padding-fix">
            <div class="main-bottom">
                <div class="wrapper-slide-bottom pull-left table-responsive">
                    <div class="row">
                        <div class="col-xs-12">
                            <!--Start slide tin tuc-->
                            <div id="carouselhAuto">
                                <h4 class="text-uppercase" style="margin: 10px;">
                                    <span>Hộ kinh doanh</span></h4>
                                <asp:Repeater ID="rptHoKinhDoanh" runat="server">
                                    <ItemTemplate>
                                        <div>
                                            <asp:HyperLink ID="hplTitle" runat="server">
                                                 <asp:Image ID="imgPreview" runat="server" />    <br />
                                                 <asp:Label id="lblTitle" runat="server" CssClass="thumbnail-text"></asp:Label>
                                              </asp:HyperLink>
                                        </div>
                                    </ItemTemplate>
                                </asp:Repeater>
                                
                             
                            </div>
                            <!--End slide tin tuc-->
                        </div>
                    </div>
                </div>
                <div class="wrapper-bar-bottom pull-left">
                    <div class="background-bar-bottom">
                        <div class="title-bar-bottom">
                            Tra cứu nhanh</div>
                        <div class="info-bar-bottom">
                            <asp:TextBox ID="txtSearchBienNhan" runat="server" CssClass="TextBox" placeholder='Biên nhận & CMND & MST' />
                        </div>
                        <div style="height: 10px;">
                        </div>
                        <div class="background-truycap">
                            <asp:LinkButton ID="btnSearchHoSo" runat="server" CausesValidation="false">Tìm kiếm</asp:LinkButton>
                        </div>
                       
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
